<form action="{:url('index')}" autocomplete="off" class="layui-form layui-form-pane form-search" method="get"
      onsubmit="return false">
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">模板编号</label>
        <label class="layui-input-inline">
            <input class="layui-input" name="code" placeholder="请输入模板编号" value="{$get.code|default=''}">
        </label>
    </div>

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">模板名称</label>
        <label class="layui-input-inline">
            <input class="layui-input" name="name" placeholder="请输入模板名称" value="{$get.name|default=''}">
        </label>
    </div>

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">添加时间</label>
        <label class="layui-input-inline">
            <input class="layui-input" data-date-range name="create_at" placeholder="请选择添加时间"
                   value="{$get.create_at|default=''}">
        </label>
    </div>

    <div class="layui-form-item layui-inline">
        <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
    </div>
</form>